addEventListener("message", received);

function received(event) {
  test();
}