Issue #1460: Fixed a typo in messages.js

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>