adding dependencies in package.json and bower.json