Fix javascript in editing an assignment's rubrics