fix menu displaybug on active item
improve invoice form for multiple line items
add missing js for nested form handling