Fixed problem with JS voting (clicking on the image)