結果 : javascript substring is not a function