Split todo.js in more files.