You misunderstood the JavaScript issue: if you built a JavaScript interpreter (which people of course have, and which most of these JITs have as a fallback already) and used that to make a browser, you still would not be allowed in the App Store because you are downloading new code and functionality for execution to execute in a scripting engine that did not come with the iPhone.