Update README to use Markdown and Syntax Highlighting

Update the README to use fenced code blocks rather than indented and use JavaScript syntax highlighting.