Add example for closing the splash with JS