Adding Javascript snippets.