pruned head.js
cleaned up & upgraded npms