[javascript mode] Fix parsing of binary operators