First try at removing splash screen from javascript