Improve automatic JST handling:

Ensure JST templates are added to the dist and
Hide the default template.js, but ensure that it is always available.