fix comments & restruct todo.js format