change clickbutton to object oriented, but still cannot associate a click button to specific objects
change stats.js to what it was before
Merge pull request #20 from Nayshins/refactor-js-to-oo

Refactor js to oo