Added a few more js snippets