Use filter() before 'destroy'

Using filter(':ui-resizable') prevents errors in jquery 1.9