Switch autosave.js and discussion.js. Fixes issue #1120.