Improve `String.prototype.startsWith` polyfill