add few js snippets