Add ES6 module format

Export globals in ES6 format to be able to load them with SystemJS