function newMenu(messageClass, messageId) {
        var pull = (messageClass === 'sent') ? 'pull-right' : 'pull-left';

        return '\
            <i class="fa fa-ellipsis-h fa-2x '+ pull +'" aria-hidden="true">\
                <div class="delete" data-id="'+ messageId +'">Delete</div>\
            </i>\
        ';
    }
/**
     * Create a new menu for the new message.
     */
Create a new menu for the new message.
Create a new menu for the new message .
function newMenu(messageClass, messageId) {
        var pull = (messageClass === 'sent') ? 'pull-right' : 'pull-left';
        return '\
            <i class="fa fa-ellipsis-h fa-2x '+ pull +'" aria-hidden="true">\
                <div class="delete" data-id="'+ messageId +'">Delete</div>\
            </i>\
        ';
    }
function newMenu ( messageClass , messageId ) { var pull = ( messageClass === 'sent' ) ? 'pull-right' : 'pull-left' ; return '\
            <i class="fa fa-ellipsis-h fa-2x ' + pull + '" aria-hidden="true">\
                <div class="delete" data-id="' + messageId + '">Delete</div>\
            </i>\
        ' ; }
Create a new menu for the new message.
Create a new menu for the new message .