Convert &JSRef -> JSRef for the PrivateNodeHelpers trait