remove the time out and add the callback for our JS for PhantomJS