Validate JS on .js file changes only
Merge pull request #3508 from guardian/pre-commit-hook-json

Validate JS on .js file changes only