if ($('.type-detail').length){ $('.basic-description .basic-description').removeClass('basic-description') } $('.menu-item-external-63 a').prop('target','_blank'); $(document).ready(function () { $('.js-banners-top-block').insertAfter('#products-1'); })