[XDomainRequest] more proper way to chack availability; [Echo.Canvas] construct URL for the canvas in case of using Echo.Loader according to "useSecureAPI" parameter