Refactor embedded viewer event names.