A collection of Javascript patterns, noted down for future use.