removes underscore templating

renderTemplate and renderError are now callbacks