updated pushState and templates, now uses SinatraJavascriptRouteParser and Handlebars.js