Ajax error messages now semi-functional