結果 : get only first two characters of string javascript