js and img downloading done