Feature/jshint

should close #161 and #162