Get Url Without Query String Javascript Example Code