Updated Web App with Script

Updated with a script to control tab switching.