A collection of javascript snippets