This example demonstrates sending messages to Erlang from Javascript from events in the main thread.
Call button was clicked 0 time(s).
Cast button was clicked 0 time(s).