Translated some of the python stuff into javascript; specifically the node and graph representations used in calculations of kernels.  Implemented a convenience function to strip out the YARN-related nodes from the graph, leaving us with just the Map and Reduce task nodes. Also implemented a simple aggregate node count kernel, and tested it to make sure the numbers it output are the same as the Python implementation.  Looking good