Rename global.js to polyfill.js
Some minor improvements