Update bower.json and fix type