LineSegment can report where it intersects another
Underscore js now works with require/AMD