結果 : check if json response is empty javascript