replaced == and !=

using === and !==