In order to make pageEnhancer a grade component, I'm in the process of converting pageEnhancer to an auto-inited component, where facing a problem of how to extract the original input options from an auto-inited component. This is how the current non auto-inited pageEnhancer keeps track of the original options:

https://github.com/cindyli/infusion/blob/FLUID-4927/src/webapp/components/uiOptions/js/UIEnhancer.js#L256-258