adding jsapi script