Update midMenuSlider.js.php

Added compatibility for jQuery