fix bug js on negation