Simplified addSearch function
Simplified addSearch function

Parse query, search param in parsed object, update the parameter and
then just stringifiy the object. Finally, we can replace the current
state of history.

jillix/url.js,jillix/url.js