Fix jshint errors with new require.paths support