結果 : check if string contains spaces javascript