Slider

Custom JS

Theme settings > Custom JS

You just need to add code into the box as shown below