WIP: check where templates.js is