Use filter() before 'destroy'

Using filter(':ui-resizable') prevents errors in jquery 1.9
Merge pull request #490 from oyejorge/patch-6

Use filter() before 'destroy'
Merge branch '2.x' into 2.1