got template working within app.js