Fix for Windows support.
Added on-the-fly ES6 support.