Website displays error when slave is offline
refactor browser handler