Basic ES5 implementation of TodoMVC