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

Without this fix, if the path to the js file contains non alphanumeric characters, well, you get the idea. This removes dots, etc..