A JavaScript Quadtree implementation.