added comments to todolist.js