Fixed bugs in compute_form javascript.
Compute data form now works on frontend with new changes!