testwidget.js: Fixing syntax error.