Use json syntax instead of javascript.

Not sure if there was a decision about this, but I think it makes sense to use the `json` type instead of `javascript`. This has the benefit automatically taking advantage of syntax highlighting in GitHub.