Javascript String capitalizeFirst()
String.prototype.capitalizeFirst = function() { return this.charAt(0).toUpperCase() + this.slice(1); };
String.prototype.capitalizeFirst = function(){ return this.charAt(0).toUpperCase() + this.slice(1).toLowerCase(); };
String.prototype.capitalizeFirst = function() { return this.charAt(0).toUpperCase() + this.slice(1); }
String.prototype.capitalizeFirst = function() { return (this.charAt(0).toUpperCase() + this.slice(1)); };