invoice list: change type of scripts to text/html for html validity
add sprintf library for invoice.list payment modal formatting