結果 : take first 4 characters of string javascript