beforeunloadevent deleted