reorganized tasks js; replaced task display modal