Add missing simpleUrl() function.

An error was being thrown because the function simpleURL was not found so I added it.