implemented area deletion

restored javascript message after deletion