Remove window exports to closure compiler