removed unsed method on query.js.