changes to todo.js