Using require js text plugin for templates