Added base tgd.js file