Remove spaces from query in exportimport4.js and exportimport5.js