do not use hardcored "/avreg" site prefix
admin/onvif client controller: rename js var (host:port = origin)