[javascript mode] Fixup patch 69e9473b1eea76b3d9155a40c8a1c69e82c61c1d