invoice lines to cocoon and jquery