add amd/requirejs support; fix style bug; fix flicker on resize renderer bug; graph algos done minus kruskal; todo docs & unit tests