updated rem polyfill