Update query.js

Added semi-colons to prevent errors when minifying