use widget.js instead of iframe to realize card