Added tracking of voting.
Added AJAX support for post loading on homepage.
Outsourced own JavaScript functions to a .js file.