put query into background.js