readyState and title check in jsrt.