eleminated jshint errors