IE compatibility for remove element