Fix browser launch code