HTML version of codelab, update to wordCount function, fix to palindrome() in tutorial (now a getter)

BUG=

Review URL: https://chromiumcodereview.appspot.com/16958008