You can use Session storage to store the value within the browser
if (typeof Storage !== 'undefined') {
sessionStorage.setItem('taxstates', JSON.stringify(result.statelist));
}
.
.
.
.
var data=(sessionStorage.getItem('taxstates') // to get data