A collection of JavaScript patterns