Added refresh code to ebmain.js in order to ask the server if the eob is over and unlock the page