Tidy up projects page js a little

Refs #162