adding a working autosave function
cleaning up console.logs
Merge pull request #12 from dshr/master

adding a working autosave function