FREEPBX-7016 fixed, just need to remove the useless code here for newer jqueryui