fixing an "is" versus "==" issue with browser choices