Added requirejs text plugin. Moved templates to file hope.tpl