testwidget.js: Adding autoinit.