Have git hooks use node.js rather than PHP

Also remove the dynamic hook since it's unused
Excellent choice of variable names here