Which Intel XDK Version are you using?
Can you check that does it happens just for this app or every other app?
Try out any samples which is under samples and demos in Intel XDK to check the above stated behaviour.
This seems to be a unique issue due to changes that you have added to your project. I recommend that you debug your application using the Debug Tab. On that tab you will be able to debug your application running on your physical device. The developer console provides you with access to the tools needed for evaluating the application's network traffic and profiles.