Updated javascript on the queries page to utilize assetrinc