Fix for anonymous function assignment

The assignment to "function buttonHandler()" was incorrect. It should
just be "function ()".