Update README.md

Prettified javascript snippets.