String.prototype.capitalize fix typo: splice -> slice