does js support inlining to `(feature.displayFIeldName || firstAttribute.fieldName).replace(/_/g, ' ');` ? Might be a little clearer than reassigning.