fixed console object error in todos.js
fixed console object error in todos.js