JS: Placeholder polyfill