templates in mojo.js