fix bower.json bugs