basic javascript to do list.