Make query global dependency
Remove console.log and update versions.