added checks for deleted file(s), rm jshint comments