Changed rest $ references to jQuery.
Implemented saving of existing widget settings.