closes #1906 - please use require('templates.js'); instead