Try beep(button) instead. Also add an alert()