Add bower.json and fixed a couple issues.