Fix webgui for Chrome

Tested with IE9, IE10 and IE11. Firefox kept working and Chrome works fine now to.