fixed invalid package.json and bower.json