Adding new JavaScript snippets and updating some of them.