fix IE remove() is undefined bug