PhantomJS: waitfor fix for pages that don't return a value for window.timingOnLoad