refactored all the templating logic to use plain text mustache files (.jstemplate)

Got bored, figured this would save some frustration when you need to update any of the generated file output.