Tasks are now stored correctly in JS and creating tasks is working again