Revised ranking logic, added tests, changed styles, changed to external d3
Fixed d3 dependency
Cleaned up yahoo.js