Added a couple more js snippets.