Cleaning up the code formatting blocks

Changing "json" to "javascript" so the coloring works better.
Added missing `"` in `require()`.