fix bugs in app.js and todo_controller