jshint complaints handeled in other words, refactoring