結果 : get last segment of url javascript