moved delete image to css from js