Added handlebars and organised some js files