Add target jsxgraph as a dependency for target test
Fix unary minus precedence

-x^2 was misinterpreted as ((-x)^2), now it is correctly read as (-(x^2))