Simple todo app running in browser and node.js