Update index.html

Updated functionality to draw a line between two points