Judge if a point is in the polygon by Node.JS