Fix "Save and next" button in grading form.

Update offset in 2 JavaScript functions.