結果 : how to get status code from header in javascript