This may work, but the best-practice is to also specify the page to display when the message occurs. For example,
"messages": [
  { "headset-button": "/index.html" } 
]