moved OS setter out of browser name check