結果 : get path of url javascript