fixing post-edit.js so slug doesnt reset to title