Initial commit of query.js