JS fix on the image path