Added function deleteAdmin in javascript