add sourcemaps and es6ify