Updating equals and hash code for OrcidProfileUserDetails, removing unused js function