Convert YUI modules to ES6 modules