Update to support url with hash (# symbol), add svg extension support