fix js metadata form; take adaptors, intermediate