Add graph algorithms from webworkers branch as separate files. The files are named dijkstra.js and kruskal.js and are located in js/util.