Simple postmessage library