Making the new configurable admin url available to js for ajax requests, etc.

[skip-ci]