Update README.md

Just added the `javascript` flag to the related code blocks, to activate syntax highlighting and make those blocks more readable.