initialize click events
event delegation amended
end turn click issue resolved
Merge pull request #41 from JacobKorn/refactoring_javascript

Refactoring javascript
 added view.addClickEvent to simplify the creation of click events