testwidget.js: Modifying reply handler.