First version that works inside Prototypo!
Stupid open and closed shapes
test point on line