fixed all jshint issues