Rewrite <polygon> interpreter

Since `node.points` sometimes returns undefined in IE9, let's use `getAttribute('points')` and parse the string with regex, similar to other methods