Fix jshint error in CollectionNameError