var message_states = Object.freeze(
  {
    MESSAGE_FAILED: -1,
    MESSAGE_SENT: 1,
    MESSAGE_DELIVERED_SERVICE: 2,
    MESSAGE_DELIVERED_USER: 3,
    MESSAGE_READ: 4,
    MESSAGE_REPLIED: 5
  }
)

var Message = {
  body: null,
  servicechain: null
}

module.exports = {message_states, message}
@@ -252,26 +252,33 @@
 %0A%7D%0A%0A
-module.export
+exports.message_state
 s = 
-%7B
 mess
@@ -291,14 +291,30 @@
 ates
-, m
+%0Aexports.Message = M
 essage
-%7D

Set up module exports differently