This is my attempt at using requirejs for a d3 app.