improvement of the communication between addon and content script