Commit javascript factures