Quad Tree class Anthony Nardi and I wrote for our new html5 canvas engine.