jsme: fix resize + clean code
jsmol: use postMessage to communicate with the iframe