Apple\'s iOS developer guidelines state:
3.3.2 — An Application may not itself install or launch other executable code by any means, including without lim
You should take a look at what Apple has enabled in iOS7. It is now allowed to download and run JavaScript within your app.