Custom JS Render function doesn't work

Hi,

I don’t know whether the message from @moe effects (Upgrading to Delegated Event Handlers for Improved Functionality)
effects the TB- render actions, but when i am adding the code in the JS section, it doesn’t work?

Look below at my custom JS code:

TB.render(‘component_63’, function(data) {
if (‘{pageField.Xoutput_text}’ === ‘yes’) {
TB.showComponent(‘component_21’);
TB.hideComponent(‘component_60’);
}
});

Don’t know what happended, but after reconfiguring and deleting elements, it worked again.