Converts an ES6 module to an ES5 YUI module.