function for browser detection