Added JS syntax highlighting to example 1.

It's more readable now (also, the `months` variable is now part of the code).