How to convert Swiper.js into ES5

I use babel to convert it but the swiper is not working and it shows this error in console.

enter image description here

I go to the line where this error happen and add console.log().

enter image description here

There’s no problem getting these elements but somehow $(...).each just doesn’t work.

enter image description here

What can i do to fix this?

Or is there something wrong when converting?

My .babel is simple, as below

{
  "presets": ["es2015"]
}