Add JS snippets