make sure to set message on JSTextMessage type