Fix several JSHint warnings in PolygonPipeline.js

There was also one in CatmullRomSpline.
Run the formatter.