added js for fqdn