a simple to-do webpage in js