Adding polyfill for demo purposes

What the hey...it wasn't too much trouble.