Fixed a bug with cherry.min.js