Autosave text widget
Cleanup text widget js