Added postmaster for listening to postmessage calls