Add doc to rcm js