Implemented get, set, toString and getHtmlText functions in Message.js