/**
		 * Adds vote to the db.
		 *
		 * @return Vote data.
		 */
		protected function stats() {
			// if($this->isAjax) {
				$args = array();
				$vote = Director::urlParam('Vote');
				if($vote) {
					$args = array(
						'choice' => Director::urlParam('Vote'),
						'allVotesCount' => Vote::all_votes_count(),
						'voteCount' => Vote::vote_count($vote),
						'votePercentage' => Vote::vote_percentage($vote)
					);
				}	
				$json = json_encode($args);
				return $json;
			// }
		}