Added syntax highlighting to JS code in README.md

This improves the doc readability