Update To New ES6 Module Transpiler

Update ES6 transpiler and make changes to source to allow for correct transpilation.