Compile etpl templates, outputting javascript source code.