Add handlebars, clean up some js.