[serenity] Update delete logic on NodeJS Service

lovefreya's submission.