added RegionQuadtree implementation in js