Fix browser globals