Improve tests stability for old Safari

In old Safari ajax request might execute longer then they should be, that's a dirty and quick fix, but soon Safari 7 will be released and that would not matter