Minimise jshint warnings