fixed some small errs with githook.js