Is `goog.string.trim` really needed here?