A custom HTML code can be added on a Page using Raw HTML element.A custom JavaScript code can be added using Raw JS element.If you want to add the code sitewide in its header or footer then it can be added under: Visual Composer - CSS & JavaScript - Custom HTML and JavaScript.
How to add custom HTML?
How to add custom HTML?