JavaScript Widget to implement src attribute of <img> element.