Hi Ally,
I deactivated Autoptimize and it works fine now. Does it has to do with the order of the js files? If so, what file do you reckon I edit to change it around?
Thanks for your fast reply!