Improved String.prototype.format