Converts AMD modules into ES6 modules