standardized var names with messages.js file