added async as client library + default query as location.hash