fix to objectLoci, additions to collection.js