Use js-ref-delete for both