Update examples/todo_app/todo.js

Fixed the Chrome cookie bug.