Js handler to delete subscription.