replace D.js static file with node_module and add a package.json