bundle templates into js, rather than loading as partials