adding platform polyfills for testing in FF