Might I recommend using string interpolation for this?

`"/model/#{modelSelect.get(0).value}.nlogo"`

vs.

`'/model/' + modelSelect.get(0).value + '.nlogo'`