Update polyfill.js

Added ES5.1 standard Object method and the suggested polyfill for Object.setPrototypeOf and ES6