requirejs not working when using both d3+dagre-d3, also problems when just using d3 and loading a json file