Update quadtree.js

Changes