JavaScript app for managing to-dos