Use code fences in readme for readability

Hey! I altered the readme to use tagged fences instead of indentation for indicating code blocks so we get JS syntax highlighting.

![see](https://i.cloudup.com/5lIeAAhefb.png)