implement bind for browsers that doesn't support it