For whatever reason, this only appends to the #category element
#category
var categoriesListOptions = [] for(i of categories){ var option =