del unused. fix ref to query-def.js