Messing around with es6 transpiler