A collection of useful javascript snippets.