Fixed auto-save

Tracked the problem with the Auto-save plugin to a browser issue. I suppose that's what you get when you're on the bleeding edge with Firefox nightlies.

Thanks to a fix from Patrick, the plugin works once again, although given the nature of the nightly builds, I wouldn't be surprised if it ends up breaking again later on.

But for now it works and I'm liking it.