How to put html5+JS into xcode program in order to run ios simulations?

Has anyone gone through that?