Work on voting, AJAX and jQuery stuff
Merge with Tao's changes