Get Url Without Query String Javascript Mdn Array Filter W3