chore(demo): use polyfill instead native functionality