fixed main.js to use the handlebars template