extract images from widget.js