Update public/tic-tac-toe.js

Added a period.