[javascript] how to dynamically add options to an existing select in vanilla javascript