widgets js update