Add some simple js snippets.