Update quadtree.js

Added flag