issue #2784:Add js rename function comment