Update detect.js

Add Windows to the list of Safari tests to ensure recognition in Windows.
Could we instead pass `navigator.platform` as the 3rd argument to the function?