fix wrong condition mqpacker.js