JS - Games - Quad Tree: subdivides canvas in quadrants to minimize the amount of collision detections