Draw equipotential field line for various charges with HTML and JS