Javascript String capitalizeWord()
capitalizeWord()
String.prototype.capitalizeWord = function(){ return this.substr(0, 1).toUpperCase() + this.substr(1); };