define([], function() {
    return function() {
        return window.emojioneVersion || '2.2.7';
    };
});
define([], function() {
    return function() {
        return window.emojioneVersion || '3.1.2';
    };
});
Update emojione to latest version 3.1.2