moving back Port.port.onmessage to the prototype