Started work on refactoring AJAX calls
Refactored ajax calls on vote buttons
cleaned up some whitespaces