Added additional formatting to readyState