Add bower.json and improve browser-friendliness