Add event listener to the button
Implement JS-3