Javascript not working

The Javascript I have on the Brain Function Testing page isn’t working correctly. It should totl up the numbers in that form, can you help me fix this?