removing jQuery, using widget approach