Added syntax highlighting to JS code in README.md

This improves the readability of the README