Fixed the browser detector in the homepage view