Algorithms implemented in JavaScript.