//Demonstrate running custom code on app start $(document.body).css("background-color", "yellow"); //YOu can do your own logic and call return false to cancel the built-in command