syntax highlighting for example in readme

Wasn't being highlighted for some reason, so I made it explicit. I can't comfortably read JS without highlighting, but it might just be me.