Switched to handlebars.js for templates

merged the latest element1.js as well
Merge pull request #1 from hansolo669/dev

Merge the latest changes