Update playMessages.js