Update SP9_restore.js

checks whether edit mode is on. turns it on if it's not.