form javascript fix