support query in index.html