Add gofmt and jsfmt git pre-commit hook