Localserver Javascript API query

I’m trying to create a live search from via the CH API so that our users can type in the company name and it will auto-fill as they type, also populating other values such as address and postcode as they select from the suggestions provided. Ideally looking to do this in JS, but we’ve stumbled on some issues using an internal company server (ACAO & CSRO). Can’t use the hosts hack as the internal server we’ll be using very much needs to remain available under its current name and the name it has will not be accepted by the CH API domain field.

First off - has anyone hit this stumbling block and managed past it - if so can you point me in the right direction to get past it?

Secondly, my next solution to this was going to be running the API through Python, pushing the results back via an PyGenerated HTML file displayed in an iframe within the form we are designing.

Finally - what are the chances of local addresses being allowed in the Javascript domain field in the near future?