Javascript in keyword returns index for arrays; hence points[pos] is required to display point values.
Merge pull request #1 from natural-affinity/polygon-debug-fix

Javascript in keyword returns index for arrays; hence points[pos] is required to display point values.