fix jshint error in Bug 1032028