Moving all the framework and model loading changes to index.html