Collection of some practile javascript code snippets.