support for synchronous ajax, shared path for defs