JS: Add math constants PI() and E() to expressions

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Add trigonometric functions to expressions

sin, cos, and tan

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Add inverse trigonometric functions to expressions

asin, acos, atan, atan2

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Add exponential functions to expressions

exp, log, log10

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: provide unit multiplication rules

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: determine the unit division rules from the multiplication rules

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add runtime test that the unit returned by an expression is correct

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add parse time test that the unit returned by an expression is correct

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add runtime test that unit returned by an expression is correct for an attribute assignment

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add parse time test that unit returned by expression is correct for an attribute assignment

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: refresh the time remaining with each redraw

when time remaining is less than 1 minute, it is displayed in seconds

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: only refresh the progress, speedup, and time remaining when the model is running

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: grey-out the speedup and time remaining displays when the model is not running

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: reformat the GUI status bar

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: expose the logarithmic funtions as ln and log for base e and base 10 respectively

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-52

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>