Fix running browser detection on Mavericks

This fix will properly detect Safari and Webkit
unde Mac OS X 10.9 Mavericks