added inline script to get polyfill working