Fix LWF.prototype.destroy raises DOM Exception 8