fixed jshint issue (!= > !==)