結果 : check for only spaces in string javascript