結果 : javascript endswith is not a function