Playing with prototyping vs. extending String object; added titleCase() method