Adding the JSDoc for the offline event.
Moving from `[]` to `.` notation.