BZ-9751: breaking up the calculator so we can use the same directive on
the public node pages and the private finance calc page