A region based, two dimensional quadtree implementation in JavaScript.