How to fix revolution slider sliderType undefined issue