fixed js bug in bill.js