JavaScript: Smarter Capitalize Function