js-mode: mark object properties properly

- fixes bug where a comma inside a string messed it up