js script loading fix

s.src = '{{ form.vars.url_api }}';