update promise polyfill in examples