changed setTimeout to setInterval while waiting for data prepared, add waitPrepareData method to HtmlParser