update widget/.js