added a JavaScript button to the HTML example