Modified _clear() method

.empty() also clears all the events and data for the children