[javascript mode] Highlight keywords used as props in object literals as properties

Closes #2619