CORRECT js script for Splash