Fix nameFromUrl() - for url like as google maps with more than one library