Basic JS lib for managing centralised display of error messages in front-end templates