I'm using this code

```
 jQuery(document).ready(function () {
    console.log('loaded');
    show();
});

```

so when everything on my page loads a function is run starting the project. However I'm using this with Three.JS where Im loading in models which are a few mb.

The script returns 'loaded' after a couple of milliseconds, however the models aren't completely loaded. In addition the Chrome console tells me that the models take a few seconds to completely load in :/

Is this the wrong way to go around it? Sorry I'm pretty new to it!