added global declaration for browser