Html Javascripts Average Method In Accounting