Do inline events (onclick="...") get auto garbage collected when the element gets removed from the DOM? Or do you have to manually remove them, like with
onclick="..."