Update fadeM.js

Fixed issue where Glide function was not working in Chrome browser.