Dynamic widget loading for  JQuery UI