fixed unused vars
adding todos to remove jshint override
Merge pull request #3525 from guardian/jshint-updates

Update JSHint settings