app optimization
app.min and template.js