Added delay to the page_body until the Ajax request is complete