Removing datasource.js file and using built-in d3.js functionality to fetch JSON