Some syntax was es6 specific, whereas we made the decision to stick with es5 for better compatibility for our users. See #2694