Directory cleanup & d3js integration