Trigger refresh of preview when last widget removed from sidebar
Remove unused JS function setting_id_to_widget_id()