plumb GSAUTOSAVE into js for autosave