added todo data and js functions