straighten up init.js and bower.json