update javascript: random image
update image