javascript if variable is not equal to string