Update template file.

Forgot to ever commit this
Bump
Remove crap from the generated js file

Made some changes in how the js output is compiled
Clean up js output directory