Update polyfills.js

changed renameSync like rename