javascript wire for name change