bug/security issue fix

- fixed bug that allowed students to keep the exam open indefinitely
after the time is up by refreshing the page when the "0 min warning"
popup came up, gaining 5 seconds every time