a mod of the text requirejs plugin to work with handlebars templates