'Default method used to render the final embedded js for the
rendered webpage.
Override this method in a sub-classed controller to change the output.'

def render_embed_js(self, js_embed):

    return (('<script    type="text/javascript">\n//<![CDATA[\n' + '\n'.join(js_embed)) + '\n//]]>\n</script>')
