middle of todo list js