Converting voting system to proper JSON instead of JSONP structure, smoothing out code.