added postMessage functionality to API v2 and changed parameter name to parentWindowOrigin/parent_window_origin