I am having an issue with a Javascript
I am new to Java Scripts. I read several online articles and have had some success but the one I am trying to attempt is not working. I am on Adobe XI Pro.
What I am trying is a simple algebra calculation E = A-(B+C+D). I didn't use the Simplified Calculations because my fields were named with Symbols and Spaces automatically when I created the document. I was having a problem with the calculation order here anyway.
I have attempted this in two different formats - please see below but neither give ma a calculation. I am not getting any errors they just don't work.
Can someone please point me in the right direction?

