eval: cope if options is undefined. Check that options.url, if present, is a string.