Scirpt didn't work on Firefox, 0 reaction on hover : I have a script that working perfectly on Chrome, but in Firefox there is no action after hovering linked object.

I tried to divide the script.js file for separate documents, but It won't help at all. 

Here is the whole effect:

https://jsfiddle.net/lszewczyk45/9unawydo/9/

```javascript
$(document).ready(function () {
const effect = new Effects('hover-effects');
effect.addEffect(document.querySelector('#cityEffect'), 'city', [ONMOUSEOVER]);
});
```

I think the problem is in calling the script - the lines at the end of the file, I pasted it above.