Accepting postMessage to control keys/mouse events