If you are using SUP2.3 SP02 you will need to have followed these steps to create java script.
Start with creating MBO with the help of O Data service.
Than deploy the project that is of concerned, after deploying the project, generate hybrid application with the help of App create html file.
The created html file will contain UI for OData MBO. You can call findAll query (it need to be defined on MBO) or any other required. It will surely give you the output on ios device. The output will be the result of hybrid package generated by the hybrid tool.