Fixed theme.js to consider Coat of Arms as well as the standard FIP signature

This finalises the work started in #3352.