load external js in js scope