Update query.js

pull request test