updated postmessenger to remove console.log