Sorry not possible. The code I took was extracted from a whole html page which is a sample on how to connect dots which are drawn on a canvas element. 

Could you explain me why you want to load it from an external resource? (If you think of updates: there will not be any. It's only a implementation of an algorithm and the two commits on the github repo are "initial commit" and "added readme")