Update message.js

Optional title field