hide the default template.js but ensure that one is always available.
jshint now expects comma separated globals

eg. /*global var1, var2, var... */ instead of
/*global var1 var2 var... */