added jshint, and working on functionality