Create FlatMessage.js