javascript negate boolean variable