Example: widget with js