updates invoice

update invoice page with JS format currency, count every subtotal JS code, and grandtotal;