結果 : get directory name javascript