Polyfilling and x-browser fixing