Moved methods to the prototype in Dares.js
minor codestyle fixes, typos