check in todo.js