Add some JS snippets