add search to URI, first version
implemented history.pushState