[javascript mode] Make 'foo++ / 10' parse correctly (not a regexp)

Issue #1451