docs: function (square) {
              // make sure we are still forming a valid word
              for (var i = 0, len = wordList.length; i < len; i++) {
                  if (wordList[i].indexOf(curWord + $(square).text()) === 0) {
                      $(square).addClass('selected');
                      selectedSquares.push(square);
                      curWord += $(square).text();
                      break;
                  }
              }
          }