Generic approach to options generation
Recreate DOM inputs after namespace change