Something like this is a bit cleaner and gets rid of the `for var . in ..` and rewriting the parameter value
```javascript
var ids = ISSN.trim().split(',');
return _.chain(ids).map(function(id) { return id.trim(); }).compact().join('_').value();
```