Update bower.json
Refactor script, set -e does the trick