fix jshint validation failures