First stage of switching URL functions over to URIjs