tidied invoiceFieldCtrl.js