app.js:19465 Uncaught TypeError: Cannot call a class as a function

JavaScript
calling a class as a function because it might not properly loaded
Source

Also in JavaScript: