added requirejs text and templating for node