chore: convert all js source files to es6

Now possible to use traceur to compile these files
during development from es6 into es5/amd.
Going to be hard to go back!
chore: merge other work