Fix text / javascript mismatch issue in Chrome (#11275)

Change-Id: I7516be18401640ded3eb6174b5375bb452a2ba00