added example tax calculation function that runs in node and can also be
included in the browser