Updates JavaScript.mode to highlight variables.