add dg.js file