adding directive directory and more jshint