typed messages received from js!