Could just make this window.setTimeout(clearImg, 1000)