how to dynamically add options in select in javascript