Javascript Remove Hash From Url