ticket:6 add widget realization
ticket:6 fix js of widget