Added tpl to bower, fixed main.js and added bower_components to .gitignore