Fix relative links. Removed unused d3 stuff.