deletion works. now need js