Fix browser runtime