結果 : get root path in javascript