Tag widget JS fix