Fix invalid location of query.js script
Fix button "delete" in edit query list