Update upvote button

Provides some fixes to the upvote button, specifically those that now make it work. Switched to using $(document).on('click' ...) and $.getJSON( ... ) to address some issues around when things are added to the DOM and cross-server requests.