src updates

Updated the source lines to allow d3.js functionality.