changed union to describe in the query, added some javascript towards creating prov