recover js set time out