fix remove element bug

fix remove element bug
fix postMessagae bug in ie