結果 : get only first 4 characters of string javascript