Fixed comparison operator to fullfill jslint config