Not only Firefox can throw TypeError on passing customized ns resolver, old IEs throw too