Updated TaskList.js to use LocalStorage and handle TaskList object.