...  Blargh... Getting confused a bit with what was in the critical editions module.  Yeah, should probably use (window.parent.)Drupal.settings.basePath, instead of adding in our own copy.