add polyfills folder; fix origin()