JS: assorted updates to graphics, and new Calculation Objects package

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