Style fix
Move preloading of assets to statics