Made the votes counter for the image to dynamically change instead of change when reloading the page.