js for expense form