Js mass balance

Just for revision and discussion about proposal of new Balance class.
Use reference to const. vector.