Modified the javascript api address