Add three javascript snippets.