Get the query string by js