[javascript mode] Don't terminate regexp on slash inside of square brackets

Closes #2141
[emacs keymap] Make ctrl-g clear mark

Closes #2142
[compression helper] Add anyword-hint