JS support for non-empty SET paths