Issue #3439646 by Tom Konda, smustgrave: Some of string comparisons should use...
Issue #3439646 by Tom Konda, smustgrave: Some of string comparisons should use String.prototype.startsWith() or String.prototype.endsWith()
(cherry picked from commit f5cc6545)