update with js for splash screen and