JS SDK Claim no problem with the results

Hello, everyone
I call methods when I’m using jS-SDK

                console.log("AE Preclaim:" + preclaim.salt);
                console.log("AE Preclaim:" + preclaim.hash);

                    console.log("AE Claim :" + claim.tx);
                }).catch(function (e) {
                    console.log("AE Claim :" + e);
            }).catch(function (e) {
                console.log("AE Preclaim :" + e);

How can I get the hash that returns a result if I find that it has been waiting for a long time?