Fix javascript code blocks

Code blocks were defined without an indicator that it is javascript.

- Change ``` to ```javascript