removed js alert message when there are no search params