Hello,
According to the issue, it appears that while the js/functions.js File is loaded correctly, the issue is with the js/plugins.js File. Either it could be missing or not added properly or the order of the JS Files are incorrect. Please make sure that none of the afore mentioned exists and the issue should be resolved.
Coming to size of the JS Files, you can delete anything you like from the js/plugins.js File and the js/functions.js File will detect it and not throw an error. However, if you would like to delete anything from the js/functions.js File, make sure that you also delete the Function Calls for the same. Example, if you delete the toggles: function() Function Block:
toggles: function(){
var $toggle = $('.toggle');
if( $toggle.length > 0 ) {
$toggle.each( function(){
var element = $(this),
elementState = element.attr('data-state');
if( elementState != 'open' ){
element.children('.togglec').hide();
} else {
element.children('.togglet').addClass("toggleta");
}
element.children('.togglet').off( 'click' ).on( 'click', function(){
$(this).toggleClass('toggleta').next('.togglec').slideToggle(300);
return true;
});
});
}
},
then make sure that you delete all the instances of this Function call: SEMICOLON.widget.toggles(); as well.
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.