Delete leftover notification javascript