messing around with js and updated image