added available notice to search params and fixed bug with historypushstate