edit link to js in widget class