GPII-75: Generic UI Options controls
Rearranged the code.
Added genericUtilities.js