Stats JS fix