Add some basic JavaScript snippets.