added a few js snippets