Minor cleanup
Add jshint config
Completed basic voting logic