Get Url Without Query String Javascript Example