moving tracking js into handlebars file