WebUI: Some changes

How about just
```
if (localStorage.getItem('speed_in_browser_title_bar') == "true") {
    /* code */
} else {
    /* code */
}
```