switch from jQuery plugin to jQuery widget