iOS - Support for third party frameworks and ti.current modules

The folder where the javascript code is might have other folders. This fixes it.