Fix upvotes in upvote box on left, add mongo server localhost connection

Placed upvotes in dummy upvote box, added a global variable in the mongo file to allow easy localhost connection to server.
It's a comment, first, and it basically recreates the variable locally. I'm open to other ways of doing this, just a quick and dirty way to test on localhost with the real mongo server