make sure safari waits for frameNavigated before checking readyState
fix #454
Merge pull request #559 from jlipps/master

more robust page load checking for mobile safari