Current loader work with es6 syntax