Added syntax highlighting to JS code in README.md

This improves the documentation readability.

Merging would be highly appreciated