post and recv msg between main.js and popup.js successfully