<script>
    var MeanbeeBaseUrl = "<?php echo Mage::getBaseUrl() ?>";

    TogetherJSConfig_siteName = "<?php echo Mage::app()->getWebsite()->getName() ?>";

    <?php /** @var $customer Mage_Customer_Model_Customer */ ?>
    <?php $customer = Mage::helper('customer')->getCustomer(); ?>
    <?php if ($customer): ?>
    TogetherJSConfig_getUserName = function () {
        return "<?php echo $customer->getFirstname() . " " . $customer->getLastname(); ?>";
    };
    TogetherJSConfig_getEmail = function () {
        return "<?php echo $customer->getEmail() ?>";
    };
    TogetherJSConfig_getUserAvatar = function () {
        return "<?php echo "http://www.gravatar.com/avatar/". md5(strtolower(trim($customer->getEmail()))); ?>";
    };
    TogetherJSConfig_getUserColor = function () {
        return '#<?php echo substr(md5(rand()), 0, 6); ?>';
    };
    <?php endif; ?>

    TogetherJSConfig_on_ready = function () {
       var event = document.createEvent('Event');
       event.initEvent('togetherjs:ready', true, true);
       document.dispatchEvent(event);
    };
</script>
<button class="button button-shopping-assistant" data-shoppingassistant-start><span><span>Request Shopping Assistant</span></span></button>
<script>
    var MeanbeeBaseUrl = "<?php echo Mage::getBaseUrl() ?>";

    TogetherJSConfig_toolName = "<?php echo $this->__('Shopping Assistant') ?>";
    TogetherJSConfig_siteName = "<?php echo Mage::app()->getWebsite()->getName() ?>";
    TogetherJSConfig_suppressInvite = true;
    TogetherJSConfig_youtube = true;

    <?php /** @var $customer Mage_Customer_Model_Customer */ ?>
    <?php $customer = Mage::helper('customer')->getCustomer(); ?>
    <?php if ($customer): ?>
    TogetherJSConfig_getUserName = function () {
        return "<?php echo $customer->getFirstname() . " " . $customer->getLastname(); ?>";
    };
    TogetherJSConfig_getEmail = function () {
        return "<?php echo $customer->getEmail() ?>";
    };
    TogetherJSConfig_getUserAvatar = function () {
        return "<?php echo "http://www.gravatar.com/avatar/". md5(strtolower(trim($customer->getEmail()))); ?>";
    };
    TogetherJSConfig_getUserColor = function () {
        return '#<?php echo substr(md5(rand()), 0, 6); ?>';
    };
    <?php endif; ?>

    TogetherJSConfig_on_ready = function () {
       document.fire('togetherjs:ready');
    };
</script>
<button class="button button-shopping-assistant" data-shoppingassistant-start><span><span>Request Shopping Assistant</span></span></button>
Add tool name and suppress invite config to TogetherJS. Also change firing event according to standards.meanbee.com
Add tool name and suppress invite config to TogetherJS. Also change firing event according to standards.meanbee.com
