Voting is not allowed if the player uses the back button to access the voting page.
If player accessed voting page using back button, redirect them to correct page if they attempt to vote.
updated vote and master js files to use new global function to redirect players.
Refactored two lines so that variable name makes sense.
removed some console logs and refactored code so that errors won't show up in console.
router working without global function
removed global var from jshint
Merge pull request #73 from rustinpc/develop

Voting not allowed and player redirected if he or she uses back button to access voting page