Adding changes in README.md for better readability of code

Adding changes in README.md for better readability of code using javascript syntax highlight.