Fix formatting on JavaScript snippets.