Point Inside Convex Polygon

Determine if a point is located inside of the polygon. Uses Jordan Curve Theorem
SVG Source:
Javascript: