Bug 1034780 - jshint fixes