defining using the navigator object to gain information about the browser.