[javascript mode] Recognize bitwise operators '~' and '^'

This was causing "1^2" to tokenize as: (number, "1"), (variable, "^2). By
tokenizing these bitwise operators as operators CodeMirror can correctly
syntax highlight the 2 as a number. Likewise the number in "~0".