wrapped all postMessage() data with JSON.stringify(), because IE 8 can only handle strings; added dev build for client scripts