Form JS fix