app.helpers({ renderScriptTags: function(scripts) { return scripts.map(function(script) { return '<script src="scripts/' + script + '"></script>'; }).join(' ');