Upgrading to new requireJS version

updated d3 dependency for correct requireJS handling. 
Nvd3 depends current on `3.1.1`.