importing latest templates.js @Schamper