Use newer API, charge.getQ => charge.getCharge in ChargeGenerator.js.
Add FieldLineDipoleAPITest.html.