Resolve scope issue with placeholder polyfill