upgrade npm on ubuntu:
sudo npm update npm -g
http://stackoverflow.com/questions/10927490/how-can-install-a-new-version-of-npm-1-1-24
python -m json.tool
git revert --no-commit previousCommitId..HEAD
git commit
See http://stackoverflow.com/questions/4114095/revert-to-a-previous-git-commit