Change todo.js to use a local class variable instead of tons of passing around