precompile template.js to javascripts directory