update lib to use qs or query-string to parse `location.search`
update lib to use qs or query-string to parse
location.search