Still working on getting require and d3 to play nice