Added todo js model.