Create dynamicoptionlist.js