finish up rtree.js, will still most likely explode