fix crash in resize2 demo page
fixed crash in due to inadverted drop attempt crashing inside jQuery as one of its functions expects a valid element while 'undefined' was being fed into it