Ajax votes

Closes #22 
Closes #19