A simple  plugin to support autosave with localStorage