changed static "error" severity to actual severity level (info, warning, error)

changed static "error" severity to actual severity (info, warning, error) taken from messages.js and gave xlm entry actual severity level
<[info|warning|error] ... />