More precise safari detection

In case of some webkit browsers it returned safari incorrectly, for example in Maxthon browser.