'Override to add script attributes and point mako at the script entry point
template.'

def _render(self, render_vars, trans=None, embedded=None, **kwargs):

    render_vars['embedded'] = self._parse_embedded(embedded)
    render_vars.update(vars={})
    render_vars.update({'script_tag_attributes': self.config['entry_point']['attr']})
    template_filename = os.path.join(self.MAKO_TEMPLATE)
    return trans.fill_template(template_filename, template_lookup=self.template_lookup, **render_vars)
