Obliged jshint and addressed all errors but one