Added a test in the border.html canvas javascript to test for chnages on the onMouseup event. Now only send data if there are chnages to the line