A simple to-do example using the MVC techniques to organize the code written in pure JavaScript