made Url class more jQuery like