JS snippets.