Added event onchange input to callback of widget

.val doesn't trigger onchange js event.  this code helped to track event of changing.