Moved validation messages to globals.js

Reviewer: Dan J
Issue: GCP-9585