Properly clean up jQuery UI on destroy