Added code to the d3 and facebook libraries