Added queries.js