Add Url class to js/Url with setPath() support