made js work for addition, submit.php still needs work