Re-added old loading screen JavaScript calls