Minor changes to catalog code

This PR adds two commits. The first commit removes the semi-colon after function declarations. The second commit replaces the catalog URL function by a catalog URL template, to be consistent with #261.