CSS styling and deleting with JS