Moved templates from index.html to precompiled templates in templates.js