removed double Memory.init in messages.js