jquery plugin to simplify autosaving a form: periodic, window.onbeforeunload, elements.onclick