A simple JavaScript demo of point/line duality... No jQuery!