The code snippet does not include the message `type`, so it defaults to a broadcast. The underlying code actually _does_ set the type; only the generated snippet on the webpage is wrong.