Snippets of JavaScript for numerous web applications