fixed the services page tab window.location.search bug