Polyfill Path2D
Fix tslint error
Merge pull request #1531 from tobytailor/master

Path2D polyfill