JavaScript Algorithms

This might interest some people here: