A collection of algorithms written in Javascript