def render(template, vars = {})
      v8_context do |context|
        unless Handlebarer.configuration.nil?
          helpers = handlebars_helpers
          context.eval(helpers.join("\n")) if helpers.any?
        end
        context.eval("var fn = Handlebars.compile(#{template.to_json})")
        context.eval("fn(#{vars.to_hbs.to_json})")
      end
    end
def render(template, vars = {})
      v8_context do |context|
        unless Handlebarer.configuration.nil?
          helpers = handlebars_helpers
          context.eval(helpers.join("\n")) if helpers.any?
        end
        context.eval("var fn = Handlebars.compile(#{template.to_json})")
        context.eval("fn(#{vars.to_hbs.to_json})")
      end
    end
Compile and evaluate a Handlerbars template for server-side rendering
 @param [String] template Handlerbars template text to render
 @param [Hash] vars controller instance variables passed to the template
 @return [String] HTML output of compiled Handlerbars template