minor jshint fixes and cleanup unused required modules