moved helpers out of the constructor, added some jshint options
JSHint is meant to run as the pretest script