I\'m trying to use a function to find URL parameters. In current browsers it works perfectly, but when testing in for example IOS 8 I get the error; TypeError: underfined
TypeError: underfined