fixed vote js