Refactoring in catalog.coffee
Linting nits
Merge pull request #648 from saebekassebil/ldhrefactor

Refactoring in catalog.coffee