Fixed comparison operator to fulfill jshiint config.

Hi,

maybe a needles PR, but grunt won't compile without as jshint complains.