move bind polyfill into component