setTimout on refresh