Added foundation for javascript testing
Added assert
changed ; in controller.js
Hide the vote button if there is no picture at all
Bug: fixed problem with vote button after last refactoring