emergency JS fix