Updated jq widget method will destroy element