Fix hook urls and formatting.

- Add project hook to update project automatically.
- Fix jshint errors