Prevent a javascript error in case the nodes have been destroyed