Improve messageList.js performance

Also added comments to init function for clarity, and deleted
messageListLivelinks object entirely - it's not used anymore.