A JavaScript/jQuery function to emulate/recreate select dropdown options into a customizable dropdown