FlightXML v3 - Github test won't run

Using the test Github file provided by FlightAware for v3, I can’t get the Jquery version to run (GitHub - flightaware/flightxml3_examples: Example programs for FlightXML3). I replaced 2 items: added my api username&key and the GoogleMaps api key

The alert msg is
Failed to decode route: [object Object]

The error msg is
jquery.min.js:4 [Deprecation] Subresource requests whose URLs contain embedded credentials (e.g. https://user:pass@host/) are blocked. See Drop support for embedded credentials in subresource requests. - Chrome Platform Status for more details.

[UPDATE: One of the problems, I think, is a malformed URL in Github. Maybe it hasn’t been updated in awhile. Does anyone have a working example to share please?]

Any ideas on how to fix this?
Thanks,
Felicia

We do not recommend usage of FlightXML through Javascript in a browser, due to the authentication and deprecation issues that this style of development currently faces.

I understand, but it’s what I have right now. I can’t log in with my username and password using AJAX. How do I log in ? Thanks.

GET https://username:password@flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=SWA2243&howMany=3&include_ex_data=false

You should assume this is not currently possible and not attempt to use Browser-based Javascript for development of new applications at this time. We are encouraging users to develop backend server-based applications instead.