rename functions that are not intended to be used by 3rd parties, such as extensions
clean up
Merge pull request #6511 from adobe/couzteau/fix-5958-customViewerAPI

Prefix functions with underscore that weren't intended as public APIs