Fix js error when testing with !== operator.