Rewrote Handlebars for better intergration with markup, css, js