Fix votes js