Your application would work fine in development mode.
However, if you publish the application as an Apple Ad Hoc enterprise Distribution for local test, or as the Apple iTunes Distribution to upload to App Store, your WebView would run into troubles of not showing the page correctly.
The reason is, as per the following link, the js file would be processed and optimized by Titanium during the packaging even if it's for the html pages, that make the page1.html could not load the script file correctly.
I encountered a similar issue yesterday and it seemed to have the same root cause.
Did anybody have the same problems?
Use some other extension. I think that the problem is that Titanium cannot distinguish between web view's source code files and Titanium source code files (they both have same "js" extension).
Think you can help? Login to answer this question!