renames external libraries from public/lib to public/js/ext
converts project to use es6 modules and transpile into cjs and amd