Common JS API: DEFAULT_INSTANCE support fixed