Quick js test to intersect a circle with a rectangle