fix ie: use the remove method of jquery instead of the DOM method.