fix issue where color formatting text is leaking

See https://github.com/angular/protractor/issues/1131