Removing dom object from hashtable when it's gone