replace loading image with live image on doc.ready