add CDN-javascripts to base tpl