Update query.js

Added semi-colons to prevent errors when minifying
Merge pull request #1 from onassar/master

Update query.js