wrap the widget code inside window.onload; update release notes