Fixed a bug with the polyfill injection code.