When running the scripts locally and just having it basic, it runs fine. However when I load it into WordPress it comes up with multiple errors and doesn't load.
The issues are as follows;
Uncaught TypeError: window.X2JS is not a constructor
Uncaught TypeError: Cannot set property 'X2JS' of undefined
I've removed other scripts (aside from wp-include jQuery) and turned off plugins.