testwidget.js: Forgot to update body for the different API.