Clear innerHTML on image load