How to convert the following line from jQuery 2.2.4 to jQuery version 3.1.1? : What's the jQuery 3.1.1 version of this jQuery 2.2.4 line:

expandDiv.style.width = Math.min(Math.max(scrollAndSpeed, 20), 95) + "%";

