Make Point.js compatible with strict PhantomJS parser