Added syntax highlighting to JS code in README.md

This improves doc readability