Update details.js to only call the _hideEmptyFields function to handle the hiding of fields when they do not have a value, when not in edit mode.