Resizable: Modified to allow jquery objects as handles. Fixed #9658: 

Rebased